<#assign className = table.className>
<#assign classNameLower = className?uncap_first> 

package ${basepackage}.model;
import java.io.Serializable;

public class ${className} implements Serializable {
	private static final long serialVersionUID = 5454155825314635342L;



	<#list table.columns as column>
	private ${column.javaType} ${column.columnNameLower}; //"${column.columnAlias}";
	</#list>



<@generateJavaColumns/>


}

<#macro generateJavaColumns>
	<#list table.columns as column>
    <#if column.javaType=="java.lang.String" || column.javaType=="String">
	public void set${column.columnName}(${column.javaType} value) { this.${column.columnNameLower} = value == null ? null : value.trim();}
	<#else>
    public void set${column.columnName}(${column.javaType} value) { this.${column.columnNameLower} = value;}
	</#if>

	public ${column.javaType} get${column.columnName}() { return this.${column.columnNameLower};}

	</#list>
</#macro>


